Ext.define('Admin.view.optimize.SupplyLevelPlanDataController', {
	        extend : 'Admin.app.BaseController',
	        alias : 'controller.supplylevelplandata',

	        onRefreshDefault : function(view, record, params) {
		        var me = this, vm = me.getViewModel(), store = me.getStore('supplyLevelPlanStore');

		        var type = params && params.type ? params.type : vm.get('type');
		        store.getProxy().extraParams.type = type;
		        store.getProxy().extraParams.customer = me.getCr().data.id;
		        store.reload();
	        }

        });
